package com.ruoyi.classai.service.impl;


import com.ruoyi.classai.domain.vo.px.PxTrainingWorkVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.classai.mapper.PxTrainingCourseHomeworkMapper;
import com.ruoyi.classai.domain.PxTrainingCourseHomework;
import com.ruoyi.classai.service.IPxTrainingCourseHomeworkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * 课后作业提交记录Service业务层处理
 * 
 * @author lcj
 * @date 2025-06-20
 */
@Service
public class PxTrainingCourseHomeworkServiceImpl extends ServiceImpl<PxTrainingCourseHomeworkMapper, PxTrainingCourseHomework> implements IPxTrainingCourseHomeworkService {

    @Autowired
    private PxTrainingCourseHomeworkMapper homeworkMapper;

    @Override
    public List<PxTrainingWorkVo> getTrainingWork(String teacherId, Integer status) {
        return homeworkMapper.getTrainingWork(teacherId,status);
    }
}
